package com.ssn.proxy.ticket;

public class BuyProxy implements IBuyTicket{
    private RealBuyer buyer;
    BuyProxy(RealBuyer buyer){
        this.buyer = buyer;
    }
    @Override
    public void buyTicket() {
        buyer.buyTicket();
        System.out.println("开始购买，出示信息");
        buyer.info();
        System.out.println("购买成功！");
    }
}
